From ef727b7d895685b4debce922c7ee45796d76f0f2 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 4 Oct 2016 23:59:03 -0500 Subject: [PATCH] add documentation about target.$triple.rustflags --- src/doc/config.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/config.md b/src/doc/config.md index 6a4101992..c542af429 100644 --- a/src/doc/config.md +++ b/src/doc/config.md @@ -69,6 +69,9 @@ linker = ".." # Similar to the above linker configuration, but this only applies to # when the `$triple` is being compiled for. linker = ".." +# custom flags to pass to all compiler invocations that target $triple +# this value overrides build.rustflags when both are present +rustflags = ["..", ".."] # Configuration keys related to the registry [registry] -- 2.30.2